﻿<div id="search">
    @using (Html.BeginForm("HomeList", this.ViewContext.RouteData.Values["controller"].ToString(), FormMethod.Get, new { id = "searchForm" }))
    {
        @Html.TextBox("search", this.Request.QueryString[iHouse.Common.Const.PagingConst.SEARCH_STRING], new { id = "s", placeholder = ViewData["searchText"] })
        @Html.Hidden("_search", true)
        if (string.IsNullOrEmpty(Convert.ToString(ViewData["sbuttonDisplay"])))
        {
            ViewData["sbuttonDisplay"] = "block";
        }
        <input id="searchsubmit" type="submit" value="" style="display: @ViewData["sbuttonDisplay"]"/>
    }
</div>
<div class="clear">
</div>
